package com.bckj.freshnow.order.trade.fsm.enums;

import com.bckj.freshnow.common.constant.TradeOrderConstants;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
public enum TradeBillStatusEnum {

    PENDING_PAYMENT(TradeOrderConstants.TRADE_BILL_STATUS_PENDING_PAYMENT, "待支付"),
    PAID(TradeOrderConstants.TRADE_BILL_STATUS_PAID, "已支付"),
    PAYMENT_CLOSED(TradeOrderConstants.TRADE_BILL_STATUS_PAYMENT_CLOSED, "支付关闭"),
    PARTIAL_REFUND(TradeOrderConstants.TRADE_BILL_STATUS_PARTIAL_REFUND, "部分退款"),
    FULL_REFUND(TradeOrderConstants.TRADE_BILL_STATUS_FULL_REFUND, "全部退款"),
    ;

    private final int code;
    private final String name;
}
